/*
 *所有关于tb_project_budgetemp类的业务代码应在此处编写
*可使用repository.调用常用方法，获取EF/Dapper等信息
*如果需要事务请使用repository.DbContextBeginTransaction
*也可使用DBServerProvider.手动获取数据库相关信息
*用户信息、权限、角色等使用UserContext.Current操作
*tb_project_budgetempService对增、删、改查、导入、导出、审核业务代码扩展参照ServiceFunFilter
*/
using MYData.Core.BaseProvider;
using MYData.Core.Extensions.AutofacManager;
using MYData.Entity.DomainModels;
using System.Linq;
using MYData.Core.Utilities;
using System.Linq.Expressions;
using MYData.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.AspNetCore.Http;
using MYData.System.IRepositories;
using MYData.Core.EFDbContext;
using MYData.Entity.DTO.ApiEntity.Input;
using System.Collections.Generic;
using Mapster;

namespace MYData.System.Services
{
    public partial class tb_project_budgetempService
    {
        private readonly IHttpContextAccessor _httpContextAccessor;
        private readonly Itb_project_budgetempRepository _repository;//访问数据库
        private readonly VOLContext _context;

        [ActivatorUtilitiesConstructor]
        public tb_project_budgetempService(
            Itb_project_budgetempRepository dbRepository,
            IHttpContextAccessor httpContextAccessor
,
            VOLContext context)
        : base(dbRepository)
        {
            _httpContextAccessor = httpContextAccessor;
            _repository = dbRepository;
            _context = context;
            //多租户会用到这init代码，其他情况可以不用
            //base.Init(dbRepository);
        }

        WebResponseContent webResponse = new WebResponseContent();

        /// <summary>
        /// 添加科目报销模板
        /// </summary>
        /// <param name="inputDto"></param>
        /// <returns></returns>
        //public WebResponseContent InsertBudgettemplate(List<BudegtTemplateInput_Dto> inputDto)
        //{
        //    var Data = inputDto.Adapt<List<tb_project_budgetemp>>();

        //}

      
    }
}
